home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Development Tools / Unsupported Tools / Sample OSA Component / OSAComp.p < prev    next >
Encoding:
Text File  |  1992-11-25  |  811 b   |  18 lines  |  [TEXT/MPS ]

  1. {////////////////////////////////////////////////////////////////////////////////}
  2. {// OPEN SCRIPTING ARCHITECTURE: Component Implementor's Interface}
  3. {////////////////////////////////////////////////////////////////////////////////}
  4. {// Copyright © 1992 Apple Computer, Inc. All rights reserved.}
  5. {// Authors: Jens Alfke, William Cook, Donn Denman, and Warren Harris}
  6. {////////////////////////////////////////////////////////////////////////////////}
  7. {// // Routines for Associating a Storage Type with a Script Data Handle }
  8.  
  9. unit OSAComp;
  10. interface
  11.     uses
  12.         AppleEvents;
  13.     function OSAGetStorageType (scriptData: Handle; var dataType: DescType): OSErr;
  14.     function OSAAddStorageType (scriptData: Handle; dataType: DescType): OSErr;
  15.     function OSARemoveStorageType (scriptData: Handle): OSErr;
  16.  
  17. implementation
  18. end.